package org.gongzhen.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication(
		scanBasePackages = {
				"org.gongzhen.HomeController", "org.gongzhen.HomeService",
				"org.gongzhen.FindController", "org.gongzhen.FindService",
				"org.gongzhen.InformController", "org.gongzhen.InformService",
				"org.gongzhen.MessageController", "org.gongzhen.MessageService",
				"org.gongzhen.PersonageController", "org.gongzhen.PersonageService"
		}
)
@MapperScan({
		"org.gongzhen.HomeMapper",
		"org.gongzhen.FindMapper",
		"org.gongzhen.InformMapper",
		"org.gongzhen.MessageMapper",
		"org.gongzhen.PersonageMapper"
})
public class MainApplication {

	public static void main(String[] args) {
		SpringApplication.run(MainApplication.class, args);
	}

}
